package cn.wizzer.modules.models.customer;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.*;

import cn.wizzer.common.base.Model;

@Table("customer")
public class Customer extends Model implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	@Name
	@Comment("ID")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	@Prev(els = {@EL("uuid()")})
	private String id;

	@Column
	@Comment("公司名称")
	@ColDefine(type = ColType.VARCHAR, width = 250)
	private String companyName;

	@Column
	@Comment("等级")
	@ColDefine(type = ColType.VARCHAR, width = 10)
	private String level;

	@Column
	@Comment("联系电话")
	@ColDefine(type = ColType.VARCHAR, width = 10)
	private String telphone;

	@Column
	@Comment("地址")
	@ColDefine(type = ColType.VARCHAR, width = 255)
	private String address;

	@Column
	@Comment("关键词")
	@ColDefine(type = ColType.VARCHAR, width = 100)
	private String keyword;

	@Column
	@Comment("联系人")
	@ColDefine(type = ColType.VARCHAR, width = 50)
	private String contactsName;

	@Column
	@Comment("主营业务")
	@ColDefine(type = ColType.VARCHAR, width = 255)
	private String mainBusiness;


	@Column
	@Comment("公司网站地址")
	@ColDefine(type = ColType.VARCHAR, width = 1000)
	private String website;


	@Column
	@Comment("客户类型")
	@ColDefine(type = ColType.INT, width = 1)
	private Integer state;

	@Column
	@Comment("原业务员")
	@ColDefine(type = ColType.VARCHAR, width = 32)
	private String oldopBy;

	@Column
	@Comment("手机号码")
	@ColDefine(type = ColType.VARCHAR, width = 11)
	private String mobile;

	private String  nickName;

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getOldopBy() {
		return oldopBy;
	}

	public void setOldopBy(String oldopBy) {
		this.oldopBy = oldopBy;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}



	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getContactsName() {
		return contactsName;
	}

	public void setContactsName(String contactsName) {
		this.contactsName = contactsName;
	}

	public String getMainBusiness() {
		return mainBusiness;
	}

	public void setMainBusiness(String mainBusiness) {
		this.mainBusiness = mainBusiness;
	}


}
